package com.fzy.core.system.service;

import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;
import com.fzy.core.U;

public class EntityListMapper implements RowMapper {

	public Object mapRow(ResultSet rs, int rowNum) throws SQLException {
		EntityListVo vo = new EntityListVo();
		vo.setId(U.getRsLong("id", rs));
		vo.setNamespaceText(rs.getString("namespace_text"));
		vo.setPrefixText(rs.getString("prefix_text"));
		vo.setName(rs.getString("name"));
		vo.setNameShow(rs.getString("name_show"));
		vo.setTableName(rs.getString("table_name"));
		vo.setCommentText(rs.getString("comment_text"));
		vo.setIsAuto(rs.getString("is_auto"));
		vo.setModuleId(U.getRsLong("module_id", rs));
		return vo;
	}

}
